package com.supermap.sdc2023.guongquan.usersvc;

import org.apache.shiro.subject.Subject;
import org.apache.shiro.util.ThreadContext;
import org.glassfish.hk2.api.Factory;

public class SubjectFactory implements Factory<Subject> {
    @Override
    public Subject provide() {
        return ThreadContext.getSubject();
    }

    @Override
    public void dispose(Subject subject) {

    }
}
